package com.wangc.commons.service;

import org.springframework.amqp.AmqpException;

public interface RabbitMQService {
    /***
     * 写入消息到MQ
     * @param exchange
     * @param routingKey
     * @param object
     * @throws AmqpException
     */
    void convertAndSend(String exchange, String routingKey, Object object) throws AmqpException ;
}
